/*
 * @Author: liuYang codkly@gmail.com
 * @Date: 2022-12-06 14:54:24
 * @LastEditors: liuYang codkly@gmail.com
 * @LastEditTime: 2022-12-06 16:15:07
 * @FilePath: \coding\nest\blog_alpha\src\userinfo\userinfo.controller.ts
 * @Description: 
 * 暂无备注
 */
import {
    Controller,
    Post,
    Body,
    UseGuards,
    Request,
    Get,
    Delete,
    Put,
    Param,
    Query,
  } from '@nestjs/common';
  import { ApiTags, ApiOperation } from '@nestjs/swagger';
  import { UserinfoService } from './userinfo.service';
@Controller('userinfo')
export class UserinfoController {
    constructor(private readonly userinfoService: UserinfoService) {}
    // 列表
  @Get()
  @ApiOperation({ summary: '列表' })
  async findAll(@Query() query: any): Promise<any> {
    return await this.userinfoService.findAll(query);
  }
}
